package cn.pjz.domain;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author é¿æ´²
 * @since 2023-02-21
 */
@TableName("user")
@Getter
@Setter
@Data
@ApiModel(value = "user", description = "")
public class User  {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    /**
     * 用户名
     */
    @TableId(value = "name")
    private String name;

    /**
     * 用户id
     */
    @TableId(value = "user_id")
    private Long userId;


    /**
     * 密码
     */
    @TableId(value = "password")
    private String password;

    /**
     *用户类型
     */
    @TableId(value = "type")
    private int type;

    /**
     * 状态
     */
    @TableId(value = "state")
    private int state;

    /**
     * 备注
     */
    @TableId(value = "remark")
    private String remark;
    /**
     * 创建人ID
     */
    @TableId(value = "creator_id")
    private Long creatorId;
    /**
     * 创建时间
     */
    @TableId(value = "state_date")
    private String startDate;

    /**
     * 修改人ID
     */
    @TableId(value = "update_id")
    private Long updateId;

    /**
     * 修改时间
     */
    @TableId(value = "modification_date")
    private String modificationDate;



}
